package com.ssm.subject.domain.service;

import com.ssm.subject.domain.bo.SubjectCategoryBO;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

public interface SubjectCategoryDomainService {

    int add(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    int update(SubjectCategoryBO subjectCategoryBO);

    int delete(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询分类及标签一次性
     * @param subjectCategoryBO
     * @return
     */
    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO);
}

